var conf = require('./config');
var redis = require('redis');

var client = redis.createClient(conf.redis.port,conf.redis.host,{});

//连接错误
client.on('error',function(err){
	console.log(err);
});

module.exports = client;